package com.zqq.goods.injection.component

import com.zqq.baselibrary.injection.PerComponentScope
import com.zqq.baselibrary.injection.component.ActivityComponent
import com.zqq.goods.injection.module.CategoryModule
import com.zqq.goods.ui.fragment.CategoryFragment
import dagger.Component

/**
 * 商品分类Component
 * (因为CategoryCom依赖一个有作用域的ActivityCom所以其也要有作用域)
 * wc
 * @author zqq on 2018/8/1
 */
@PerComponentScope
@Component(modules = arrayOf(CategoryModule::class),
        dependencies = arrayOf(ActivityComponent::class))
interface CategoryComponent {

    fun inject(fragment: CategoryFragment)

}